package morning.cat.demo.interceptor;

import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;

/**
 * XXX
 *
 * @author mengzhang6
 * @date 2018/12/7 9:56
 */
public class FrontInterceptor implements Interceptor {
    @Override
    public void intercept(Invocation invocation) {
        System.out.println("拦截器");
        invocation.invoke();
    }
}
